Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: don't read strict from tsconfig.json #11

Merged
merged 2 commits into from
Jun 13, 2022

Conversation

spmiller
Copy link
Contributor

tsconfig's definition of strict is different to swc's, so we shouldn't treat them as the same field.

Default swc strict mode to false. It can still be overridden by manual config if required.

Fixes #10.

tsconfig's definition of strict is different to swc's, so we shouldn't treat them as the same field.

Default swc strict mode to false. It can still be overridden by manual config if required.

Fixes songkeys#10.
@spmiller spmiller mentioned this pull request Jun 13, 2022
'false' is currently the default, but we want the default behaviour from swc so will leave it unset.

Fixes songkeys#10.
@songkeys
Copy link
Owner

Thank you so much! I'll publish v2.0.0 as it's a breaking change.

@songkeys songkeys changed the title Don't read strict from tsconfig.json feat!: don't read strict from tsconfig.json Jun 13, 2022
@songkeys songkeys merged commit e3f4e41 into songkeys:main Jun 13, 2022
@spmiller
Copy link
Contributor Author

Thanks for your quick review and merge @songkeys!

@spmiller spmiller deleted the no-strict branch June 13, 2022 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect use of strict
2 participants